package com.zero.service;

import com.zero.entity.User;

import javax.servlet.http.HttpSession;



/**
 * @Author: Zero
 * @Description:  处理用户相关业务层接口
 * @Date: 2022/10/17 20:10
 * @Param:
 * @return:
 **/
public interface IUserService {

    //处理用户注册
    void userRegister(User user);

    //处理用户登录
    User userLogin(User user);

    //处理用户修改密码
    void userResetPwd(String oldPwd,String newPwd,HttpSession session);

    //处理用户修改个人资料
    void userUpdateInfo(String phone,String email,Integer gender,String username,Integer uid);

    //根据id查询用户信息
    User queryUserByUid(Integer uid);

    //处理用户上传图片
    void userUploadImg(String imgAddress,Integer uid);
}
